package cn.ahxb.frame.work.ui.home.fragments;

import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import butterknife.ButterKnife;
import butterknife.OnClick;
import cn.ahxb.frame.R;
import cn.ahxb.frame.work.ui.user.activities.LoginActivity;
import cn.ahxb.frame.work.ui.user.activities.SettingActivity;

/**
 * A simple {@link Fragment} subclass.
 */
public class HomePage4Fragment extends Fragment {


    public HomePage4Fragment() {
        // Required empty public constructor
    }

    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View layout = inflater.inflate(R.layout.fragment_home_page4, container, false);
        ButterKnife.bind(this, layout);
        return layout;
    }

    @OnClick(R.id.tv_login)
    void tv_login() {
        startActivity(new Intent(getContext(), LoginActivity.class));
    }

    @OnClick(R.id.tv_setting)
    void tv_setting() {
        startActivity(new Intent(getContext(), SettingActivity.class));
    }
}
